home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 24 / PC Gamer IT CD 24 1-2.iso / PATCHES / ZNPATCH.EXE / ZNPatch / Addon / subpatch.zfs / am1f.scr < prev    next >
Text File  |  1997-06-04  |  12KB  |  269 lines

  1. # THIS SCRIPT WAS GENERATED ON 04-03-1996 AT 23:09:50
  2. world A                     # Asylum
  3. room M                      # Anatomy Room
  4. nodeview 1F                 # Nodeview 1F (481)
  5. # SCRIPT VERSION: 24.12
  6. puzzle:26999 {                            # AUTO-PRELOAD-OF-ANIMATION 
  7.               results {
  8.                             action:animpreload:27000(am1fa21c.avi 0 0 0 15)
  9.                             action:animpreload:27001(am1ea21c.avi 0 0 0 15)
  10.                             action:animpreload:27002(am1ea31c.avi 0 0 0 15)
  11.                             action:animpreload:27003(am1fa31c.avi 0 0 0 15)
  12.               }
  13.               flags {
  14.                             DO_ME_NOW
  15.                             ONCE_PER_INST
  16.               }
  17. }
  18.  
  19. # PUZZLES
  20. puzzle:6111 {               # AM1F-10_nav
  21.               criteria { 
  22.                             [6110] = 1                  # AM1F-10
  23.               }
  24.               results {
  25.                             action:assign(6110, 0)      # AM1F-10
  26.                             action:dissolve
  27.                             event:change_location(A,M,10,362)
  28.               }
  29.               flags {
  30.                             ONCE_PER_INST
  31.               }
  32. }
  33. puzzle:6113 {               # AM1F-1G_nav
  34.               criteria { 
  35.                             [6112] = 1                  # AM1F-1G
  36.               }
  37.               results {
  38.                             action:assign(6112, 0)      # AM1F-1G
  39.                             action:dissolve
  40.                             event:change_location(A,M,1G,0)
  41.                             action:assign(218, 0)
  42.                             action:assign(13, 0)
  43.               }
  44.               flags {
  45.                             ONCE_PER_INST
  46.               }
  47. }
  48. puzzle:6115 {               # AM1F - clickKeypadHandLadUp_puz
  49.               criteria { 
  50.                             [6090] = 0                  # state of switch
  51.                             [9] = 40
  52.                             [6114] = 1                  # AM1F-clickKeypad
  53.               }
  54.               results {
  55.                             action:assign(6114, 0)      # AM1F-clickKeypad
  56.                             action:assign(5261, 1)      # G_AM_doorOpen
  57.                             action:assign(5265, 3)      # G_AM1F_randSparky
  58.                             action:assign(6696, 1)      # AM1F - sparking_anim 1 2
  59.                             action:assign(6699, 1)      # AM1F - sparking_anim 2 2 (non dos)
  60.                             action:inventory(drop 40)
  61.                             action:disable_control(6114)               # AM1F-clickKeypad
  62.                             action:stop(7216)
  63.                             action:syncsound(27003 0 am1fq1tc.raw 22050 16 1 0) #b
  64.                             background:playpreload:6705(27003 0 0 511 319 0 45 1)
  65.                             action:stop(7350)
  66.               }
  67.               flags {
  68.                             ONCE_PER_INST
  69.               }
  70. }
  71. puzzle:6119 {               # AM1F - sparking_anim 1 1
  72.               criteria { 
  73.                             [5265] = 1                  # G_AM1F_randSparky
  74.               }
  75.               results {
  76.                             action:assign(6119, 0)      # AM1F - sparking_anim 1 1
  77.                             action:assign(5265, 0)      # G_AM1F_randSparky
  78.                             background:playpreload:6695(27001 0 0 511 319 0 6 1)
  79.               }
  80.               flags {
  81.                             ONCE_PER_INST
  82.               }
  83. }
  84. puzzle:6124 {               # INITIAL AM1F - AutoSpark
  85.               criteria { 
  86.                             [5261] = 0                  # G_AM_doorOpen
  87.               }
  88.               results {
  89.                             action:assign(6124, 1)      # INITIAL AM1F - AutoSpark
  90.                             action:assign(7042, 1)      # G_AM1F_sparkGoing
  91.                             action:assign(5265, 2)      # G_AM1F_randSparky
  92.                             action:disable_control(6112)               # AM1F-1G
  93.                             action:enable_control(6114)  # AM1F-clickKeypad
  94.                             background:music:7216(0 am1fh1sc.raw 1)
  95.                             action:set_screen(am1fb11c.tga)
  96.               }
  97.               flags {
  98.                             ONCE_PER_INST
  99.                             DO_ME_NOW
  100.               }
  101. }
  102. puzzle:6696 {               # AM1F - sparking_anim 1 2
  103.               criteria { 
  104.                             [6695] = 2                  # AM1E - sparkingEnd1
  105.               }
  106.               results {
  107.                             action:assign(6695, 0)      # AM1E - sparkingEnd1
  108.                             action:assign(6696, 0)      # AM1F - sparking_anim 1 2
  109.                             action:random:5265(1)
  110.                             action:add(5265,1)
  111.               }
  112.               flags {
  113.                             ONCE_PER_INST
  114.               }
  115. }
  116. puzzle:6697 {               # AM1F - sparking_anim 2 1
  117.               criteria { 
  118.                             [5265] = 2                  # G_AM1F_randSparky
  119.               }
  120.               results {
  121.                             action:assign(6697, 0)      # AM1F - sparking_anim 2 1
  122.                             action:assign(5265, 0)      # G_AM1F_randSparky
  123.                             background:playpreload:6698(27002 0 0 511 319 0 6 1)
  124.               }
  125.               flags {
  126.                             ONCE_PER_INST
  127.               }
  128. }
  129. puzzle:6699 {               # AM1F - sparking_anim 2 2 (non dos)
  130.               criteria { 
  131.                             [66] ! 2
  132.                             [6698] = 2                  # AM1E - sparkingEnd2
  133.               }
  134.               results {
  135.                             action:assign(6698, 0)      # AM1E - sparkingEnd2
  136.                             action:assign(6699, 0)      # AM1F - sparking_anim 2 2 (non dos)
  137.                             action:random:5265(1)
  138.                             action:add(5265,1)
  139.               }
  140.               flags {
  141.                             ONCE_PER_INST
  142.               }
  143. }
  144. puzzle:6700 {               # AM1F - clickKeypadHandLadDn_puz
  145.               criteria { 
  146.                             [6090] = 1                  # state of switch
  147.                             [9] = 40
  148.                             [6114] = 1                  # AM1F-clickKeypad
  149.               }
  150.               results {
  151.                             action:assign(6114, 0)      # AM1F-clickKeypad
  152.                             action:assign(5261, 1)      # G_AM_doorOpen
  153.                             action:assign(5265, 3)      # G_AM1F_randSparky
  154.                             action:assign(6696, 1)      # AM1F - sparking_anim 1 2
  155.                             action:assign(6699, 1)      # AM1F - sparking_anim 2 2 (non dos)
  156.                             action:inventory(drop 40)
  157.                             action:disable_control(6114)               # AM1F-clickKeypad
  158.                             action:stop(7216)
  159.                             action:syncsound(27000 0 am1fq1tc.raw 22050 16 1 0) #b
  160.                             background:playpreload:6702(27000 0 0 511 319 0 45 1)
  161.                             action:stop(7350)
  162.               }
  163.               flags {
  164.                             ONCE_PER_INST
  165.               }
  166. }
  167. puzzle:6704 {               # AM1F - finishedRaisingDoor
  168.               criteria { 
  169.                             [6702] = 2                  # AM1F - openDoor1
  170.               }
  171.               criteria { 
  172.                             [6705] = 2                  # AM1F - openDoor2
  173.               }
  174.               results {
  175.                             action:assign(6702, 0)      # AM1F - openDoor1
  176.                             action:assign(6705, 0)      # AM1F - openDoor2
  177.                             action:enable_control(6112)  # AM1F-1G
  178.               }
  179.               flags {
  180.                             ONCE_PER_INST
  181.               }
  182. }
  183. puzzle:6885 {               # AM1F - clickKeypad_you die 1
  184.               criteria { 
  185.                             [9] ! 40
  186.                             [6114] = 1                  # AM1F-clickKeypad
  187.               }
  188.               results {
  189.                             action:assign(6114, 0)      # AM1F-clickKeypad
  190.                             action:assign(6885, 0)      # AM1F - clickKeypad_you die 1
  191.                             action:assign(6696, 1)      # AM1F - sparking_anim 1 2
  192.                             action:assign(6699, 1)      # AM1F - sparking_anim 2 2 (non dos)
  193.                             action:assign(7495, 1)      # G_AM1F_deathRouter
  194.                             action:stop(7216)
  195.                             action:stop(27001)
  196.                             action:stop(27002)
  197.                             background:timer:7294(2)
  198.                             action:set_screen(am1fb11c.tga)
  199.                             background:music:7445(0 am1fh2tc.raw 0)
  200.               }
  201.               flags {
  202.                             ONCE_PER_INST
  203.               }
  204. }
  205. puzzle:7293 {               # AM1F - clickKeypad_you die 2
  206.               criteria { 
  207.                             [7294] = 2                  # AM1F - clickKeypad_you die 1_Timer
  208.               }
  209.               results {
  210.                             action:assign(7293, 0)      # AM1F - clickKeypad_you die 2
  211.                             action:assign(159, 15)
  212.                             action:assign(7294, 0)      # AM1F - clickKeypad_you die 1_Timer
  213.                             action:dissolve
  214.                             event:change_location(G,J,DE,0)
  215.               }
  216.               flags {
  217.                             ONCE_PER_INST
  218.               }
  219. }
  220. puzzle:7496 {               # AM1F - doRegionEffect
  221.               criteria { 
  222.                             [66] ! 2
  223.                             [7495] = 1                  # G_AM1F_deathRouter
  224.               }
  225.               results {
  226.                             action:assign(7495, 0)      # G_AM1F_deathRouter
  227.                             action:assign(7496, 0)      # AM1F - doRegionEffect
  228.                             background:region:7497(useart[69,132,12] 0 0 511 319 50 1 0 39 40)
  229.               }
  230.               flags {
  231.                             ONCE_PER_INST
  232.               }
  233. }
  234. puzzle:7498 {               # AM1F - sparking_anim 2 2 (dos)
  235.               criteria { 
  236.                             [66] = 2
  237.                             [6698] = 2                  # AM1E - sparkingEnd2
  238.               }
  239.               results {
  240.                             action:assign(6698, 0)      # AM1E - sparkingEnd2
  241.                             action:assign(5265, 2)      # G_AM1F_randSparky
  242.                             action:assign(7498, 0)      # AM1F - sparking_anim 2 2 (dos)
  243.               }
  244.               flags {
  245.                             ONCE_PER_INST
  246.               }
  247. }
  248.  
  249. # CONTROLS
  250. control:6110 push_toggle {                # AM1F-10
  251.               flat_hotspot(0,265,511,54)
  252.               cursor(backward)
  253. }
  254. control:6112 push_toggle {                # AM1F-1G
  255.               flat_hotspot(369,0,142,264)
  256.               cursor(forward)
  257.               venus_id(219)
  258. }
  259. control:6114 push_toggle {                # AM1F-clickKeypad
  260.               flat_hotspot(199,103,127,122)
  261.               cursor(handpu)
  262.               venus_id(218)
  263. }
  264. # state 7495 has been reserved as a global variable (G_AM1F_deathRouter)
  265.  
  266. # AUTO-BACKWARDS PUZZLES AND CONTROLS
  267. control:25500 flat {
  268. }
  269.